//
// Created by evenvi on 18-7-18.
//



#include <unistd.h>
#include <stdio.h>

int main()
{
    uid_t uid = getuid();
    uid_t eduid = geteuid();

    printf("userid is %d, effective userid is : %d\n", uid, eduid);
    return 0;
}